package com.thread.collection;

import com.thread.reference.M;

import java.util.Collections;
import java.util.Hashtable;
import java.util.Vector;

public class Vector_HashTable {
    public static void main(String[] args) {
        Vector<M> vector = new Vector<>();

        vector.add(new M());//自带锁

        vector.size();
        vector.remove(0);
        Hashtable ht = new Hashtable();
        ht.put("t1","v1");

    }
}
